{include file="public/header" /}
<style type="text/css">
	.aui-list .aui-list-item-text{padding-right: 0;}
	.aui-list-item-text i{margin-right:3px;}
	.aui-tab-item{border-right: 1px solid #eee;}
	.aui-tab-item:last-child{border-right:none;}
	.aui-tab-item.aui-active{ color: #ff6e00; border-bottom: 2px solid #ff6e00; }
</style>
<div class="aui-content wrap">
	{eq name="model" value="WapUserFav"}
	<div class="aui-tab" id="tab">
	    <div class="aui-tab-item {eq name='type' value='question'}aui-active{/eq} jump" href="{:url('UserCenter/my_collection', array('title' => '我的收藏', 'model' => 'WapUserFav', 'type' => 'question'))}">问题</div>
	    <div class="aui-tab-item {eq name='type' value='article'}aui-active{/eq} jump" href="{:url('UserCenter/my_collection', array('title' => '我的收藏', 'model' => 'WapUserFav', 'type' => 'article'))}">文章</div>
	</div>
	{/eq}
	<div class="aui-list aui-media-list question-list">
		{if $model == 'WapUserFav' && $type == 'article'}
			{include file="user_center/article_ajax_item" /}
		{else/}
			{include file="user_center/question_ajax_item" /}
		{/if}
	</div>
	{neq name="ajax_next_page" value=""}
        <div class="load-more" url="{$ajax_next_page}" data-to="question-list">加载更多...</div>
    {/neq}
</div>
{include file="public/footer" /}